Efficient Detection of Restricted Classes of Global Predicates
نویسندگان
چکیده
We show that the problem of predicate detection in distributed systems is NP-complete. We introduce a class of predicates, linear predicates, such that for any linear predicate B there exists an efficient detection of the least cut satisfyingB. The dual of linearity is post-linearity. These properties generalize several known properties of distributed systems, such as the set of consistent cuts forms a lattice, and the WCP and GCP predicate dectection results given in earlier work. We define a more general class of predicates, semi-linear predicates, for which efficient algorithms are known to detect whether a predicate has occurred during an execution of a distributed program. However, these methods may not identify the least such cut. Any stable predicate is an example of a semi-linear predicate. In addition, we show that certain unstable predicates can also be semi-linear, such as mutual exclusion violation. Finally, we show application of max-flow to the predicate detection problem. This result solves a previously open problem in predicate detection, establishing the existence of an efficient algorithm to detect predicates of the form x1 + x2 : : : + xN < k where xi are variables on different processes, k is some constant, and N is larger than 2. keywords: distributed debugging, predicate detection, unstable predicates. supported in part by the Texas Instruments/Jack Kilby Faculty Fellowship and by NSF Grant CCR-9409736 ysupported in part by the NSF Grant CCR-9110605, a TRW faculty assistantship award, a General Motors Fellowship, and an IBM grant
منابع مشابه
Detecting conjunctive channel predicates in a distributed programming environment
Previous work in efficient detection of global predicates was restricted to predicates that could be specified as a boolean formula of local predicates. Many properties in distributed systems, however, use the state of channels. In this paper, we introduce the concept of a channel predicate and provide an efficient algorithm to detect any boolean formula of local and channel predicates. We defi...
متن کاملIntractability results in predicate detection
It has been shown that global predicate detection in a distributed computation is an NP-complete problem in general. However, polynomial-time predicate detection algorithms exist for some classes of predicates, such as stable predicates, observer-independent predicates, conjunctions of local predicates etc. We show here that, given a class of predicates for which polynomial-time detection algor...
متن کاملEfficient Detection of Global Properties in Distributed Systems Using Partial-Order Methods
A new approach is presented for detecting whether a particular computation of an asynchronous distributed system satis es Poss (read \possibly "), meaning the system could have passed through a global state satisfying predicate , or Def (read \de nitely "), meaning the system de nitely passed through a global state satisfying . Detection can be done easily by straightforward state-space search;...
متن کاملE cient Detection of Global Properties in Distributed Systems Using Partial-Order Methods
A new approach is presented for detecting whether a particular computation of an asynchronous distributed system satis es Poss (read \possibly "), meaning the system could have passed through a global state satisfying predicate , or Def (read \de nitely "), meaning the system de nitely passed through a global state satisfying . Detection can be done easily by straightforward state-space search;...
متن کاملEecient Detection of Global Properties in Distributed Systems Using Partial-order Methods
A new approach is presented for detecting whether a particular computation of an asyn-chronous distributed system satisses Poss (read \possibly "), meaning the system could have passed through a global state satisfying predicate , or Def (read \deenitely "), meaning the system deenitely passed through a global state satisfying. Detection can be done easily by straightforward state-space search;...
متن کامل